package com.dongdongmovie.mapper;

import com.dongdongmovie.pojo.TYears;
import com.dongdongmovie.pojo.TYearsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TYearsMapper {
    int countByExample(TYearsExample example);

    int deleteByExample(TYearsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TYears record);

    int insertSelective(TYears record);

    List<TYears> selectByExample(TYearsExample example);

    TYears selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TYears record, @Param("example") TYearsExample example);

    int updateByExample(@Param("record") TYears record, @Param("example") TYearsExample example);

    int updateByPrimaryKeySelective(TYears record);

    int updateByPrimaryKey(TYears record);
}